Carbon


GetSuperControl

Header: Controls.h Carbon status: Supported

Obtains a handle to an embedder control.

OSErr GetSuperControl (
    ControlRef inControl, 
    ControlRef *outParent
);
inControl

A handle to an embedded control.

outParent

Pass a pointer to a ControlHandle value. On return, the ControlHandle value is set to a handle to the embedder control.

function result

A result code.

DISCUSSION

The GetSuperControl function gets a handle to the parent control of the control passed in.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)